package com.sunnada.btfvilg.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zsl
 * @title Deliverylist
 * @description: TODO
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("deliverylist")
@ApiModel(value="配送表", description="包裹与快递员对应关系")
public class Deliverylist {

    @ApiModelProperty(value = "主键")
    @TableId("pid")
    private String pid;

    @ApiModelProperty(value = "网点id")
    @TableField(value = "sid")
    private String sid;

    @ApiModelProperty(value = "快递员id")
    @TableField(value = "did")
    private String did;

}
